package com.gm.census.service.impl;

import java.util.List;

import com.gm.census.service.PagedListResult;

public class PagedListResultImpl<I> implements PagedListResult<I> {

	public PagedListResultImpl(String currentPageIndex, String nextPageIndex,
			I ret) {
		this.currentPageIndex = currentPageIndex;
		this.nextPageIndex = nextPageIndex;
		this.ret = ret;
	}

	private String currentPageIndex;
	private String nextPageIndex;
	private I ret;
	
	public void setCurrentPageIndex(String currentPageIndex) {
		this.currentPageIndex = currentPageIndex;
	}

	public void setNextPageIndex(String nextPageIndex) {
		this.nextPageIndex = nextPageIndex;
	}

	public void setReturn(I ret) {
		this.ret = ret;
	}

	@Override
	public String getCurrentPageIndex() {
		return this.currentPageIndex;
	}

	@Override
	public String getNextPageIndex() {
		return this.nextPageIndex;
	}

	@Override
	public I getReturn() {
		return this.ret;
	}

	
}
